refactor command
no need for instances variable
refactor command and add packet
refactor code and allow packet to understand hash addition
add .gitignore