Adding JavaDoc generation

The JavaDoc is being created as well as JAR to be included by other
libraries or Maven rep.