one option working with the framework as is: - make a controller called jsonrpc with 1 method - use the first arg from the request.args to select the module to call - create a directory in modules and put all your calls in there. - import and invoke the modules as needed by the controller (passing in request and whatever else is needed)
in that case you write 1 controller and forget about it, and then create the modules just as you were planning to make controllers.