Manual

- added manual
- added R script