changed web folder to example folder
added main screen to navigate the rest of the screens
added escape handler to go back to main menu
dartified code a bit