initial commit
fast change
flush data before recreating the nextSpot array
re-added DBQuery.py without database connection info, renamed dbTest to repopulateNextSpotsTable
added a function to get the nextSpots from the nextSpots table