Separate Spritz Library from epub reader application

Here is how I would separate the library from the application.

Feel free to make any changes.