Added  a new Counter class to handle the countdown clock.