Rewrote queue
added documentation