reorganized the tweet adapter