Started the main code