add command constants for channel communication
clean up and small cosmetic changes
add .gitignore