Updated copyright.
Fixed compile and checkstyle issues