runTool signature change and bug fix

changed runTool signature and moved it as a post method and not get. And
some bug fixes