again code formatting
added licence header to all source files
format pom
added javadoc for all classes