Ok bro.i cant do any thing about madara part now.
Bt for sasuke -naruto part i can explain why i did this.
At this time in the manga we can see naruto and sasuke working together forgetting all their regrets.
As u know sasuke wanted to burn the bijus,change the system but still he is helping...