Reinventing the Wheel. C lib to integrate algorithm for application dev