Some little changes in Core code. Added a new example (R) and added the initial docuemntation file