checkstyle and pmd plugins added to the pom, sun_checks added for checkstyle