lightweight middleware infrastructure