Add Database class
rename library to Library
rename library to Library