Implemented main do_import and do_export functions in ConfigMg.