Refactor modelOr404 and add sendModel function
Add client