Middleware-ready barista code is now in place.

Time to start integrating with lmug.