added bitmapbuffer class
added UI class