Added the queryTemplate python file