Styling and some refactoring of routing.js