added server querying abilities, need to refine it still though