implemented backend configuration.

Signed-off-by: TomWu <phperwuhan@gmail.com>