Removed unused classes.
Fixed some javadoc
changed the gradle file to fix deployment issue to maven central.