add apache license comments
fix checkstyle violations
more checkstyle failures