Added sleep func
Merge branch 'master' of https://github.com/peterxie/StretchIt-Beta