Hi Dude,
Well, you do sorta make sense, but there is an awful lot of unknowns in there. Do you have a copy of Colin Moocks book ASDG, if not got to his site and look in the codePot and you should find what you need there. Address is (I think !) www.moock.org
Hope that helps
SteveD
p.s. if that is no good, I will make you a template if you give me more info and lots of $$$$$$