add register_service<>()

register_service_factory() is to be implemented.