added simple task queue

fixes https://github.com/zyndiecate/matic/issues/2