Define role methods in module

* Enable to work private method in role definition
* Narrow partner methods visibility to private
Merge pull request #7 from esminc/role_module

Define role methods in module