set up core data, successfully set up managedDataContext