C++ class implemented
timeScale will be set on every delay