abstract stuff to base DB class
start fleshing out postgres driver