redesign configuration API, complete the send/receive service