add middlewares to stack
Implement Middleware Stack
Implement Error Handling
Implement App Embedding As Middleware