updated comments in tpl, added "test" folder.