Move non-IO methods out of monad
Add HUnit dependency in prep for adding a test
Refactor and share init code between tools
Merge pull request #3 from ferrouswheel/master

refactor to share init and in preparation to use hunit

Thanks Joel