implemented total donations by nid lookup, basic templating system, added lookup table for rendered widget markup