Cleaned up `require()`s
Updated package.json: Added dep double-ended-queue
Added a write queue to counter unsafe multiwrite

Closes #1