Added base classes that models the tool.