Mavenized Java API

I took the liberty of "mavenizing" the Java API. This makes it easier for Java developers using dependency management tools such as Maven, Gradle, Ivy, etc. to use your API.