removed extra code from Ui class file
final script to call other classes