Add lots of tests and correct tool-age. Thinking about moving this to a separate repo so that I can put it on PIP for ease of installation with heroku.