Initial commit of tsm.go