Added constructor to node bindings to be able to create
instances that each use their own databases.