added scheduler sample
fixed scheduler config
improved sample