have line-split logic only in one place
added default __teardown__
new toplology implementation