Revert "system/core to TREX"

This reverts commit d94232906fe85098f1e697e45a9677f94b112458.