Refactored init.py to util.py