add gitignore
add tproc template methods and tests