updated async code to use discrete functions rather than inlined callbacks
removed unneeded callbacks and added direct calls to previously provided callback (ex: async.series next)
removed deadcode (buildError function)