Split into separate library and executable
Use URLs in Resources.hs
Add Tasty-based unit tests
Add Travis-CI setup