- added missing javadoc
- added missing license headers