Sleep System

Sleep system helps to enter and exit sleep modes

Two routines are defined