Added Persistent flag for queries; added cache clean up after migrate
fixes for fct; cleanup
fixes for fet, fct and pie charts
merged all stats versions
adding fet numbers
finalized migrate option
first migrate option draft
new code for stats generation