* add maybe errors for pure functions in reader
* add remote and local dir handling (not tested)
* start multiple replicas' locations handling in worker