Pipe bending and threading tools