Adding Key Mapping. Can now store a key map in mysql