Moved enum object from it's own model to tool.py