Initial: Add a subset of nark C++ library

Just changed Makefile and gen_env_conf.sh
Other files are copied as-is