Implement proper argument handling in xcode-select, rename functions to something that makes sense