Creation of a basic python class to parse the data