if your code is actually organized as a module .. or will not take much to bring it .. you can use the features provided by Yii1 for modules
A module is organized as a directory whose name serves as its unique ID. The structure of the module directory is similar to that of the application base directory.
To use a module, first place the module directory under modules of the application base directory. Then declare the module ID in the modules property of the application. For example, in order to use the above forum module, we can use the following application configuration:
return array(
......
'modules'=>array('forum',...),
......
);
A controller action in a module can be accessed using the route
moduleID/controllerID/actionID.
see this doc for more detail