Adaption layer between command line & API