added a simple CLI wrapper