added player class, need to add controls for html