config formate changed

root at top level
use node.extend to merge config object