Mavenize

Turn the project into a regular maven project to make building it and running the tests easier.