Add command line interface and interactive configuration