Added abstracted functions to insert a new record
Called the Model function to insert a new record