plug in the library classes from the book.

ofcourse i didnt write these...