moved backend shell interfaces to runtime.api
fix gh 98