switched to 2D rendering
added textures,tiles, fixed singleton