refactored headlines page and ESPN api calls