mavenize project

I'll mavenized this. It should be easier to others to import in other projects.