Added getNextPartition to DataStore
Fixed some warnings, added documentation, new QueryAtom-based BuildDBStep