Rewrite pomodoros controller