switch all sources in tree to compile with C++
- renamed all files
- fixed all minor issues (e.g., using C++ keywords like new)
- fixed all warnings