First pass at create_image

Change-Id: I648d5a445b2be30e594552516f3c5aaccfadb4d1
Fix issue with create_image

Change-Id: I45e549fbc8946bd74af2d2c331dcaee8db358a66
First pass at CreateImage testcase

Change-Id: Icc734747946ae3275f7826d31c6234d6326d9772