Added id prop. to NewsItem, added consts and functions to NewsItemWriter