Encapsulation of the movement into Entity class.