Initial commit of sleep worker code.