add some service into code.

add some service into code.