add shared lib engine