shared lib for apps