GRILLIX: A 3D turbulence code for magnetic fusion devices based on a field line map