added PMD plugin
fixed pmd reported violations