Moving Entity class