Added support for queue and integrate with sharpmetrics