mavenized

Turned project into a maven project for better dependency management.