initial db interface for resistor db