Added Query functionality to PlanetSim.DBModel