added tools.py with functions to run ibench