Fix license and checkstyle