Cleans up pom root files

Removes commented code and reformats the files.
It is an attempt to improve code base maintainability.