renamed utils.php to functions.php
refactored the controller structure
updated TODO