Added a tablify routine "template" and modified the sample_code_userapi.py to show the changes