Moved some of the Mob code to Entity