Started the main method.