Move CoreDataStack to the separate class