Moved static data from template to JSON-object in router
Refactored routing