Made the MovingEntity class