add BufferArray class
export Log class
export JSONDescriptor class and add some test cases