Add model.js script generation

@raymondfeng @bajtos please review
This was causing an error since express removed the logger middleware. We can use `morgan` instead, but I'm not sure we even want logging in the workspace.