I was a little lazy before, but maybe I should expand a little.
First, there are multiple things you can do with a sump, and you don't need to do all of them.
-It can simply be a place for equipment, like your skimmer, heater, auto-topoff, etc.
-It can be a refugium, where you grow plankton-producing organisms as well as macroalgae that can absorb wastes and stabilize pH.
-It can be a place for a deep sand bed and more live rock.
For my tank, I wanted a place for the skimmer and a refugium. So I designed a sump with two inputs (I split the flow from the overflow), with the water flowing to the return in the middle. I would have loved to use a 30 breeder, but I could only fit a 20 long in the stand.
The baffles can be really important, because the water flowing from your overflow and your skimmer can generate a lot of small bubbles. You want to keep these out of your return pump as much as possible, because they will go back into your tank and be ugly and reduce water clarity. Baffles force the water to take a longer path, allowing bubbles to leave. Purists accept nothing less than 3 baffles per path (see the Melev link I posted, it really is helpful), but I didn't have room for that, so I have a few microbubbles in the main tank.
The other thing baffles do is to keep the water level in a given compartment constant. My skimmer wants to sit in water between 6 and 8 inches deep, so the water going out of its chamber in the sump has to go over a 7" overflow in a baffle. Ta-da, constant water level and constant skimmer efficiency.
The refugium is about 11"X12", and the output baffle keeps the level at 9" deep. I put two 19 watt PC floodlamps over it for the macroalgae, at a cost of about $20.