the mainFrame skeliton