Main class for running program