add UI class Main