Implemented the automatic verfication of the db scheme and creation of a
new sqlite db.