Fix bugs and remove unnecessary code
Add a new class for supporting the general functionalities needed for contacting Twitter API