add config
remove no use file, rework to config