updated comments (public and private flags)
at first search template file without extension (as absolute path)
updated TODO list