Initial commit of ttag_func library