a facade for the CoreData API