added MainFrame for client