refactored dependency management in all poms, equals and hashcode methods.
first round of refactoring