Moved routes into their own file