Added ImageName and switched to testng
Added inspect image API
Add job option to commit image plus some refactoring