Render templates and serve static files