Pull Request for Queue functionality

Let me know what you think!