         let storyboard = UIStoryboard(name: "MapView", bundle: nil)
         let controller = storyboard.instantiateInitialViewController() as! MapViewController
 
-        //setSpotsData(controller)
-
-        controller.spots = sightseengSpots
+        controller.spots = SpotManager.sharedController.sightseeingSpotRepository.spots
     
         var viaLocations: [CLLocationCoordinate2D] = []
         if let spot = SpotManager.startSpot {

            locationManager.requestAlwaysAuthorization()
        }
        
        let spots = SpotManager.sharedController.toiletSpotRepository.spots
        for spot in spots {
            print(spot.name)
        }
        
        let results2 = CSVManager.sightseeingData()
        for result in results2 {
            sightseengSpots.append(SightseeingSpot(result: result))
            print(sightseengSpots.last?.name)
        }
        
        let header = SearchHeaderView()
        header.setup(CGRectMake(0, UIApplication.sharedApplication().statusBarFrame.height, self.view.bounds.width, 50))
        self.view.addSubview(header)
        
        searchButton.layer.cornerRadius = 60
    }
    
    override func viewWillAppear(animated: Bool) {


class SearchViewController: BaseViewController {
    
    @IBOutlet weak var startLocationButton: UIButton!
    @IBOutlet weak var targetLocationButton: UIButton!
    @IBOutlet weak var searchButton: UIButton!
