Added a base for database operations