Split Twitter functionality into module