Forgot to prepend 'sqlite:///' to the SQLALCHEMY_DATABASE_URI
Some cleanup, removed all globals in favor of passing the values in the existing Context object.