dkt

search to use Q,  allow sub table query, reorg templates