Moved files to lib/, split out read-queue.js