Redoing Miguel Grinberg's Flask-RESTful tutorial again, adding a SQLAlchemy database