[example] Added mocked models, updated app config to define selector, and used middleware to get request context.