Main class with 3 instance of the class