Creation of classes and test of Amazon API