Added purchase model and created database table for it