 
 class MasterViewController: UITableViewController, UserInteractable, View, UISplitViewControllerDelegate, MasterControllerDelegate {
     typealias Event = MasterEvent
-    typealias State = [UIViewController]
+    typealias State = [NameAndSegue]
     
     var disposeBag = DisposeBag()
     

    }
    
    // MARK: - Controller delegate functions
    
    func showSelectedViewController(viewController: UIViewController) {
        self.selectedViewController = viewController
        guard let split = self.splitViewController else {return}
        split.showDetailViewController(viewController, sender: nil)
    }
    
    // MARK: - Split view

        super.viewDidLoad()
        
        self.splitViewController?.delegate = self
        // Set initial detail view controller
        tableView.delegate = nil
        tableView.dataSource = nil
        
        let model = MasterModel()
        let view = self
