add map and map-controller