* Refactored logic from model to controller
* Solved tree rendering problem
* Added duration renderer