created and refactored sb_app.soy (App menu and handling)