added tms wrapper

@bonnerjp