do some refactoring
Merge branch 'master' of github.com:FuriKuri/maze-server