base class for dagfucius tool, subdir for each tool