seperated ray tracing logic with mpi logic, interfaces provided