starting to code the model layer as John papa videos