main class to .Frame