Change route settings to a separate file