Updating of AmazonAudit for PEP-8 and some refactoring

This is because I'm tired of having 'globals' that aren't globals
propogating through my functions.

Change-Id: I0b16044b14e68ec1ea5ab30accc1abb6fd31bed7