removed evented crap on provider and added async.js to do stuff in an async interative loop