code: func NewManager(r *http.Request) *Manager {
  	session := db.GetDBSession(r)
  	return &Manager{
  		session:    session,
  		collection: db.GetCollection(session, mongoPersistenLogCollectionName),
  	}
  }
docs: //NewManager creates and initializes a new Manager