Fix spelling errors in help messages and comments
Move commands to their own package
Add code for update command