Adding missing cnf.cpp

Fixes #106