MainFrame added, should be phase II prototype ready