add the libvirt core api and web api