added pmd plugin to analyze source. format with 2 spaces per indent.