Added Core Data integration

Added ability to save items to core data.