Remade epub generation into a View