Encapsulate db managers in context.
Refactor.
Add model base.
Add ListModel.
Start removing context from controllers.

Transfer DB management from controllers to models.
Refactor.
Replace old model with new one.
Refactor for list layout.
Merge branch 'DBManagementRefactor'