added Makefile and touched up rshell.cpp