Major update to add sqlite usage in analyzeSGP/getSGPPanelData/.simex.sgp