Add README.rdoc and some useful comments to the code