preparing to re-write in C++
created base working tree