Iterator pattern

Change-Id: I2093f7f9f4051d02d5ce623aecad017c7368a8ec
Signed-off-by: Ranjitha Balaraman <ranjitha.balaraman@sap.com>