Added database existence check

We check for the existence of the file on disc. If the file is not
found we create one an we pupulate it with the brender schema from this
file.