class to hold main method for hall experiment