Improve formatting.
Add server file and tweak routes.