added options to filter which metadata to build queries for

added options to filter which metadata to build queries for and remove teiid reference