Implementing libflom C++ wrapper