Added library.cpp