created textUI and created graphicUI class