replaced Promise with Q.
Added workflow stats collector
updated some log outputs