usage
class AppDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let tabC = UITabBarController()
let mC = MCoordinator()
coordinator = MainCoordinator(tabBarController: tabC, tabs: [mC])
coordinator?.start()
window?.rootViewController = tabC
return true
}
}