Add scm-api implementation