create tool class