cleanup and use of node-dbi