Is that little panel a genny transfer panel? That might explain all of those red wires and wirenuts.