(Issue #99) Restructure and repackage to be usable by maven.

All packages moved to src/main/java