added the defined mappings back into the mappings file
added method to use the mappings.h mappings page instead of manuallly setting them
Removed the old mapping function from the code