add window width and heiht definitions
introduced templat splitting