Refactoring - Window and WindowController made interfaces.