New main class.