Made some changes to the files so that we can insert the records in the database