Ebook integration architecture