Moved from types to interfaces. Added TableIterator & test for it.