Adds permissions module and functionality.

Usage of module before execution of command still needs to be implemented.
Adds permissions module and functionality.

Usage of module before execution of command still needs to be implemented.