setup routing, partials