Add Router class to match incoming messages with predefined storage configurations