Split out the obvious pieces into seperate files
Made changes from C++ language features to C
Removed HistList references, code remains for now
Updated gitignore
This version is failing at the linker