Added code to save list of analyzeddata object into mysql in a timer