-convert all to C++
-fix several warnings
-introduce new programs