Refactor.
Refactor.
Refactor.
Refactor.
Refactor.
Merge pull request #30 from pazur/queues2

Refactors.
Add amqp support.
Merge pull request #31 from pazur/queues3

Add amqp support.
Bump version.
Merge pull request #32 from pazur/patch-4

Bump version.