Created LazyIterable to facilitate lazy evaluation of queries