Divided API calls into submodules