apply routes; factor out model-creation-service