New method through which params are passed to command callbacks, message queue implementation