Beginning of NAT

This is the initial code for the NAT.