generate javadoc and sources
refactoring