Commit of images and init refactoring.