Added singleton object for db instance
All models will call the db.DB() function and get the connection from there.