cli is now exported and starts only when start() is called