Wiring in shadow extraction

WIP: @markhibberd 



Add spec