Adding the main method