Replace Blackbird_controller.c with controller.cpp. The C++ translation uses RAII for the log file and service handles through a ControllerLogger class, removing the manual critical-section teardown paths. Refs #11.