Begining creation of the tstat class