added a querry(QueryManager) and a getQueryManager(Main)