added createWordsIndex
adding TweetWordIndex again
cleaned up code and added to test