Add middleware filters with hooks for before and after controller handlers