Use new database init
Use loopback instead of mongoose
Use loopback instead of mongoose