add api to main repo as submodule