timer class
added time-lapse mode