Hoist utility functions into utils.py

Every project needs a utils.py.