add basic 2d rendering and texture loading support