Register service as bean