Added index route, and fixed formatting.