added the stuff for ip tool.  initial pass