improvements on data output and memcache module. can now restore data after restart
fix: read old metadata
Merge branch 'master' into memcache_restore