Created classes in program 2 and used them in the main program.