Merge pull request #8 from m1ch1/master

Clean up deactivate code.
Add a command to join a group.