build tool to create database