add ServiceObj
add basic functions