Added PMD and findbugs to build script (#1)
Cleaned code (#1)