statistics: reimplemented 'old' sqlite format
statistic: added function to load old statistics files
added TODO file with some ideas to implement