Added CRUD operations to the database library