Add model.
Middleware for DB and server name.