Updated CXX_FLAGS
Implemented Repository::clear(); ScenegraphAggregator now singleton.