Refactor trello extractor