Added checkstyle, findbugs and pmd to pom.xml
Updated .gitignore
Changed modifiers
Fixes according to checkstyle