Restructured packaging and implemented BinaryHeap.