Revert "system/core to TREX"

This reverts commit 93ddea23a1578b1ed37d495920d56508fc91853d.