Now, as we know how Controllers/Views/Routes work, we can get back to the original initial code of the permission editor application, and copy-paste it all into the package folder, just changing the namespaces.
For example, our full RoleController will look like this...