fixed checkstyle issues, added copyright