added core data library… not quite finished implementing it.