splash screen, clean up main layout and class