Refactoring of Twitter and Http classes for extensiblity.