Main

The main code