[WIP] Add array type interface

Please use _one_ rw_lock for the entire array.