Generate the codes done. Added Code model.