Added generic interface for database connector