Update module format.  Complete roles management and role edit directives.