Branch relationships now set on config. Added more history fields