added timer class to core lib