Added base class for MAGCoreData