Put C++ implementation in separate directory