add CRUD class for database usage