add md files and updated readme and R file