Created UI class.