implement config
add readinput, processsend, config