Did more refactoring. Now twitter oauth credentials are specified in a json file.