use query and hash parameters to execute sub functions of a module