Created listener template for commands