change c++flags
add analyzer test
fix lots of bugs (let the analyzer test pass)
update object test
add missing cpp files
add some missing method definitions