Refactor of Set/Bag using roles, jnthn++ for gdb support