Split out code into functions
page scraping: If no encoding can be found, use utf8
Add tests
Add Travis CI