pulled smtheader into smt class. simplifying layout