Abstraction of Queue to Helper file