add service registry

  * add simple service registration
  * add auto service register