fixed gui to work with business classes and controller