Creation of the main classes