Move Middleware and Filter to Middleware namespace, add Config middleware