Add a tools.py file