add snippet.json
use relative path
add namespace
remove .social_snippet.json
use __cplusplus
clean up