added a class and an object to move some functionality out of the SsewisWindow class.