Beginning chronometer logic

Adding chrnometer and the first steps of the logic.