adds server routes and mainVC to iOS app