Moved routes into its own module