Changing file permission; add pmd conf
add custom pmd config; add pmd errors print to console