Move all other route registration out of server file.