change rdoc to md & add a lot of infomation