Updated module to accept params as args to controller