Implemented auto-flushing
Added QueueConsumeCommand
Merge pull request #8 from pkruithof/flushing

Implemented auto-flushing