added region adapter and picture and text object class