sql script creating initial database structure