Made API a submodule