code format re-style
added passphrase feature
add support of conf.json