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.