fixed #2 add ui file and controller