Java classes to insert Tweets using REST API into MongoDB