Changed how libraries are stored/refrenced