changing pom to add javaagent
removing non args constructor and adding finals to fields