Prepare to separate inserts from db structure

The dbstructure.php file is too congested, separate inserts from tables.