updated rshell.cpp and fixed some bugs
updated readme