I had a similar idea awhile back and just released the second beta of my mod. Take a look here: Dotasource.codeplex.com Hopefully you can find it useful to spur ideas or learn from the source code. If you fire it up and have any problems/suggestions, let me know.
schroe2a
Andy joined
I'm a 30-something software dev who works on source mod programming and other game programming in his spare time.