Add storage/type settings to control file tree vs sqlite storage