started implementing api in OpenTool files
added some helper functions to client