Added dblibrary.cpp