register service object directly, instead of factory