refactor code to fetch section episodes in one api call (faster), fix error for fetching sections when server is unreachable, move resolutions mappings to global variable