Rafael,
You might want to take a look at the MLM that Malte built, the stuff that Caroline did for the congressional bid in Washington state or the Cyberactivist ToolKit that we recently finished for GPI (http://ctk.zill.net). The code should be available for all of these.
I can get you the code for the CTK at least.
talli