Moved parse_config to shared library