Ebook architecture