Code cleanup

In response to #7

https://codeclimate.com/github/d-simon/prerender/compare/refactor-complexity