Export sproxy as a library