add basic db setup scripts and generate db