renamed schema to db, and use a global mgo.Database instance through it