Make TF interface a separate Matlab class