Sample of classes and structure in python