Setting up CoreData to store pictures