rename to cpp
use extern "C" linkage for now