renamed database.py to util.py