Refactored and added methods to RolesResource
Added tests
Added module configuration method