Added modes to Command
simplified Command by always connecting incoming items to its standard input