Inserted Window into the framework to get rid of hardcoded layouts to support Frame