refactored: simplified module.exports
added: queue unit test
refactored: redefined queue var names, returns a functor, manipulates internal data members
Merge pull request #4 from ghostsnstuff/refactor_queue

Refactor queue