I found the most interesting part to mod are sealed (Mission, Agent classes inside TaleWorlds.MountAndBlade.dll).
I wanted to put into place a bracing behavior for spears unit standing in formation. As it is now, cavalry units mostly pass through spearmen standing in formations, like shield...