embed sink in Engine
rename SetInput to Input
rename newSink to sink.sinks