Just a simple set of functions to create class based window