Move lag_rac_init to a seperate file.