adds controller and model to render map api