Final version with routing and partials implemented