Made modifications to models.py to better fit the actual usage, and finished setting up mysql