[New] Sleep definition
[Upg] Add sleep config parameters
[New] sleep functions
[Upg] Cleanup + sleep implementation