Initial main method.