Controls the movement and logic for man

class to control the movement and logic for man