Refactoring with middleware
Add hash util (mmh3 et sha256)
wip