checkstyle: add header and basic javadoc