Moved database install from model to install.py