add partials and router