adding javadoc task to build
file reorg
code reorg, formatting, commentds, javadocs