Add storage api simple example.
Create fix for out of index error in reading monitoring data from payload