add timer to support timeout and sleep
Merge branch 'master' of github.com:Hevienz/greenev