First working version. Some error handling. Single threaded for now, because of Access Denied errors.