Create utils.py

File containing utility functions used in the add-on.