Added script to generate DB tables