Added minimal maven support

Just enough to get gradle to build and install to a local maven repo.