change in header of ui.h becuase of class redundancy and code style