Major re-structure to allow building with Maven.  pom.xml added.