this is going to only work for very basic libraries; I plan to slowly add more features over time to support more complicated libraries