Add a private main method for adhoc testing