Refactoring to pull bookify library from external repo