Implemented database.cpp methods, added README