starts up main app