Updated GreenStrategyThread and added the Main class