added gui and player class