Adding in support to stash results into a database, rather messy code, lots of nested callbacks, time to switch to promises? Secondly need a model to handle the table for each run - at the moment everything is in index.js.