add simple-query and advanced-query components