Refactor frequency response class, prepare tab layout switching