player class added and partially implemented