modify output dir and enable sample source
add timer library by using Boost.thread