75 Duster electrical boxes

Now I am familiar with the standard ignition box and the voltage regulator, but I'm working on a 75 Duster that has a blue box on the passenger fender and a black box on the passenger side of the firewall. Both of these boxes have three wires going to them. Any idea what they are? The picture I've included does not focus on them both, but one is visible in the top left of the picture. I've seen these before in friends' junk piles, but never thought about them because I've never seen them in use. And is there a difference between blue and black? Can I interchange them should I ever need to replace them? Or are these not anything important? This is a car that I'm buying from a friend and I'm slowly working on it in his driveway so I don't have to tow it home. There's also a couple of relays on the driver wheel well that I'm not sure what those are for; the starter relay is on the firewall. Would this have the seat belt interlock that I've heard about? There's also something on the speedometer cable which I believe to be a signal generator for cruise control, but there's no sign that this car ever had cruise. I'll try to get some better pictures next time I'm out working on it. Thanks for any input.

20170820_144412.jpg