Update main to initialize loading of global state class