cleaned models, optimized some code on twitterapp