more db work

thinking about the binding problem...  maybe some sort of
reflection/visitor pattern?