Added window and base rendering engine