Backend Updates

Added a generic YAML field in the database.
Cleaned up a lot of code in models.py and ajax.py