Numerous updates in datastructures and utilites packages