add image model and rework cli