Initial conversion to C++. Files renamed, CMakeLists.txt updated, mandatory casts added.
Fixed C++ compiler flags. Removed W2_LIST - using std::list now.