Link CoreData and create CoreDataStack