Added window,mesh 2d class, and simple 2d renderer