added async library for async processing of docs

Added asynchrounous processing of files.This means the files are processed and saves as they are written, and not queued up and saved all at the end. using the async library