now coredata controller works on Mac
core data for mac and iOS fixes