improve api
expose gs-api to gs-impl