Move commands.go into commands package.
Add factory method for bad commands.
Run gofmt on commands.go