added MainScreen class