A LightWeight Library for Legacy Code Conversion