update single template support
cmp: improve onject config component
cmp: clean config module