SiteControll alias path to module

I’m trying to decipher Path Alias and Namespace (Documentation) but it’s really confusing for me.

I use HumHub which customizes a bit of Yii but not too much. But some methods are a bit confusing from Yii documentation. One thing I can’t figure out is how to create a new url path for a module. Currently modules are based on their module ID for paths, and I would like to create a alias within the module to use instead of the ID. Is this possible?

For example, here is the ViewController.php for a HumHub application. it relies on the ID of the module to use as the path, so you end up with mysite.com/custom_pages/ID which is very unattractive on a front-end stand point.

Can anyone help explain this further please?