Completed the Switch component, fixed dispatch issue in FrameHandler
Integration