added the code for the initial UI
Several changes. Now shows initial UI and game UI for new games.