added main method, a loop, and a couple empty methods to implement later