Replace the utils.py file with a collection of often-used tools