add config-schema
remove name_to_adapter (dead code)
refactor adapter_to_name()
make swig test not fail when the version is bumped