Moved Context to an interface, implementation will be part of Window class.