add PeriodicDelay interface which is aware of period

Same as above with explicit imports.