try {
//store.dump(System.out);
dumpTabSeparatedFile(store, new File("/tmp/earthquaketweets.txt"));
CustomTwitterClient client = new CustomTwitterClient();
UserRegistry userRegistry = new UserRegistry(client);
TweetPersister baseStatusHandler = new TweetPersister(store, client);
TweetDeleter d = new TweetDeleter(store);
// Create an agent to listen for commands.
// Also take the opportunity to memoize users we're following.
TwitLogicAgent agent = new TwitLogicAgent(client);
Handler<Tweet> statusHandler
= userRegistry.createUserRegistryFilter(
new CommandListener(agent, baseStatusHandler));
Set<User> users = new HashSet<User>();
Set<String> terms = new HashSet<String>();
terms.add("earthquake");