Gallagher Middleware Framework