javadoc and cleanup
license headers