Added page factory with comicPage and bookPage directives