Moved the function to initialize the database from run.py to __init__.py