added player class and it renders