Fixed build, added rdoc in the doc directory.