flesh out image api, cli; order cmds