Main frame for GUi working