Move the Amazon code into one dedicated module.

  This cleans up the code.
  perltidy
  Ignore some files that won't get committed.