A refactored version of queueit/QueueIT.Security-Php