workable version

controller/base_controller.py
Implement doFlash()