Changed file structure in priv/db.