Added detail to pom.xml
Added javadoc; minor fixes