move db setup helper script into tools