How to limit dependency on 3rd party tools and libraries