add session viewer prototype
save
merge master
compatible with ruby 1.8.7