Added GUI and game logic