start refactoring twitter provider