Added getters, setters, equals, hashcode and toString