Updated to express 4.

Fixed the way models are attached to the app.