Start moving more of the x11 code into classes, currently basic windows can be created with the same api as the win32 code