[Flume] Refactoring flume smsem intercepter