add logger and small refactor. fixed #113 #112
Merge pull request #116 from KazumaKobayashi/develop

add logger and small refactor. fixed #113 #112