Main

The main function of the program.