Adding fresque support for monitor command and better handling of stats