Added factory for the twitter implementation