Refactor to clean up root dir.
Moved things into ./src, ./bin, and ./test, as appropriate.