main app design