added timer class

added timer class