database structure

scripts for database