Added comments, renamend heap->get_name, refactoring