bkhidhir / set type and persistent flags for analyticsapp_server storage