Create main app architecture