Adjusted models to dependent destroy, wrote pipeline destroy Tsx, need to write test

TSX done but no test written, manual verification