https://buckleyplanet.com/2006/04/from_middleware/
From Middleware to BPM