refactoring to use Pomodoro and Timer