Controller that manages windows created in titanium