Create remap.py

Initial import of remap.py