Huge changes: starting to use git: removing antiquated code. Add header files