Created class ToolPrfile and encapsulated logic for generating the tool_profile