code refactoring

ツイート解析処理を外出しした。
corresponds to issue 3

Even if the network connection is down, the program doesn't stop.
Merge pull request #6 from seriwb/issues/3

merge Issues/3