Define basic app architecture.