Create tools.py

Yeah! Created by Matteo and Dimitri.