initial logic
remove logging
add cli