added partials and routes