Refactored twitter code and deleted unused interfaces