added partials, controllers and mapping