Small refactor.
Disabled phase duration controller actions.
Refactored controller code.