refactor check
refactor client
refactor command
remove packet
fix the dummy server