Move all of the utils into src

This resolves #365.  I haven't moved the tests into a `test` directory yet.  I will do that in a later pull request sometime soon.