add api as a submodule