refactoring inbound endpoint
Merge pull request #113 from isudana/master

refactoring inbound endpoint