Update add_mapping_file

Makes code easier to read, updated some comments and docstrings,
makes all column names lowercase, changes varchar type to NOT have a
length limit
Add docstring, update comments