Removed coupling to zend db adapter