changed the way results should be emitted on call return
added winston dependency
consolidate