Adding CoreData and Sample Classes to Implement it.