implement enqueue, undequeue, flush, pause, resume and size
add package.json