refactor wip
Merge branch 'master' of https://github.com/ngaut/tyrant