renamed all remaining *.c to *.cpp, fixed bindings