Added running and attacking states to player and replaced in mainview