Core Data stack, helper methods, and categories to make the framework easier to work with.