Synchronization model reviewed.
[GenerationWork] class added.
Output files flushed after each buffer writing.