storage flush in extra interface. reorganization of timer, mutlithreading handling, etc. with shutdown, flush and clear