Added TitleScreen and logic to navigate between screens.