Moved MainFrame and relevant classes to own subpackage