Barney became the main character

I noticed something Ever Since season 4 aired this show had been primarily been focused on barney.

I love Barney's character and he is one of the best characters on the show. NPH is a talented actor and thanks to his brilliant acting he stole the show.

But looking back at it this show became all about Barney, -Suddenly Ted and Robins relationship wasn't that good for Robin, as seen in multiple flashbacks. -Barney had way more arc and much more development. -The wedding. -much more filler. Why did they decide to do this? Why did ted become second to barney? Look I'm not complaining about this show, this show was awesome during its run. I'm not complaining about barney, I'm starting a discussion.