new class, new event handling

adding new class for loading screen. change to new event handling