separate logic from endpoint
add validation of DataHandler
remove empty line
Merge pull request #1 from ritou/feature/separate-logic-from-endpoint

Feature/separate logic from endpoint