Worked on functions in Library.cpp

Put together some of the class functions for Library.cp