pomodoro object initialization extracted to it's own function