Improved routing, main page added.