define svc_add()
use dep_t for service tree
don't use typedef for structs
Added dependency loading in svc_load()