Cleanup pom.xml and add a config