code reorg, trying to make it clearer who needs to know what about NRE internals
adding new file, forgotten in last commit