Java code added.  Contains pom.xml so should, in theory, allow automated Maven collection of dependencies