Extract all the retweeting logic to its own file