Extract routes into new file.