Adds a simple table where settings for the database can be saved. This is useful for state that must not change after import.
Also introduces a separate constant for the sql directory, so that it can be put separately from the rest of the data if required.