Updated the model a lot more, made SQLAlchemy generate the schema in the DB, and customised the look of the flash messages and some other stuff