Creating the tool class