added player class and test