add utility decorator for more modular code, new SessionQueue class