Refactor this simple example to extract the Express routes ...

... and client-side RESTful API access functions into two reusable node.js packages: onm-server-rest-routes, and onm-client-rest-api.