memory management
fragtool class