Make the batch size configurable
Remove Direction from ActionQueue
Remove Connection from ActionQueue
Refactored the Connection construction