added resources; added tab interface for query sets