Fixed PMD warnings
Added checkstyle.xml