Creating the main classes.