first draft for getting all the remote, local and others commands into the same class