Added equals and hashcode for movableobject