add checkstyle plugin and license check