Adds Main class for testing and debugging