Moves stuff around, adds nrerl module.