Fixed player to be a class and updated methods