A bunch of boilerplate code intended to be used with Flask, various extensions, and SQLAlchemy.