Basic code with Splash screen and one main screen