move interfaces (api) to sos-env