The Main Program