added a simple cli to help debugging