add scheduler object, for simple triggering of functions in time