Changed some code in Corpus and added Tweet object