added cli to manage and cleaned config