adds a main app view