import coredata inside lib