Fork of Flask tutorial to use SqlAlchemy