Shane Smith, 23, from Newport, played a key role in the supply of class A drugs in south Wales.