Create basecodes.py