added examples
removed a lot of detritus, and lots of random changes.