Ditching C++ version in favor of C
C rewrite and process search by name implemented