Moved window config to config file