Adding top level window and controller