move container and image initialization code into base class, adding info hash to container.