[PAXSB-65] Javadoc and cleanup
[PAXSB-65] applied formatter, added license headers