Adding database reformatter that converts the old version of the database to the new.