Moving Api dependencies to API module