adding tools.h tool.cpp