Changed the init script.
Added SQLAlchemy reference. Created database object by instantiating it with the Flask app object.
Also added import for 'models'.