Added Result class. Added some comments to explain the view of windows