Added clean target
started down analysis path, doesn't compile.      Intention is to refactor into proper functions later.
Compiles with new analysis code, does it work?