Created the model for the mapping