# Problem Views should not contain anything than the smallest possible amount of code # Proposed solution - [ ] Move logic for creating database, generating json etc into separate module - [ ] Create tests for all application logic - [ ] Let views reference logic from module # Expected outcome Views should be really slim and modules should have robust, tested and clearly separated logic.