removed unused and underused methods in MainApp