Initial Commit. Bugs and Hacks abound, but I need the code in a central location.