created commands object with access by PID and name