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/.