refactor cache and queue
refactor operation queue
refactor