add bulk API #66
merge with opak_dev and master branches