Added some implementation to window class

Windows can now be created using a config file