Moved route definitions to template and added a custom route definition file for customization