Add utility functions for commands that connect to a master
Move standalone commands into the pkg/cmd pattern
Remove extra binaries