reg module: Add sample and README file

README.md file with a short description of the module is added. An
example on how to use the module can be found now in reg/samples/.
Merge pull request #9 from alfonsosanchezbeato/master

reg module: Add sample and README file