Added database synchronizer
Changed some names for output schema-exports.
Added metadata class for holding some metadata in db.
added metadata scripts for updating database.
Added some comment for database updates.
Improved the check scripts function
Some minor comment changes