Update file (controllers.py): Modify both function and methods to reflect the use and test case for sqlalchemy and wtforms.
Update method (forms.py): Change return value of get_session from cls.session to db.session. The session is now located at a separate file (db.py).
Update import (models.py): Change import from config to db. The db module now contains the Base that will be used for sqlalchemy.
Remove import (config.py): Remove the sqlalchemy import and corresponding variable (BASE_ORM). The declarative_base() is not located at the new file (db.py).
Add file (db.py): The file that contains the sqlalchemy engine, sessions and related models imports. This previously was located at manager.py as a method, however due to complexities of making the session available on forms.py and models.py of each apps, it have been best to place it on a separate file.
Remove method (manager.py): "database()". Remove database() method due to complexities it is causing just to make the session available on all models and forms.
Update file (index.html): Update this file to show the use cases of wtforms and sqlalchemy effects.