public static mmDatabaseManager DatabaseMgr { get { // Instantiate the Database Manager if it's null if ( _databaseMgr == null ) { _databaseMgr = Factory.CreateDatabaseManager(); } return _databaseMgr; } set { _databaseMgr = value; } }