start to add iarray interface and oarray implementation.