fixes #28
fixes #29
fixes #32
fixes #32
Logging API, fix Code Style
Merge pull request #33 from kazuhira-r/develop

Refactoring.