model and routes to resolve at server