Created ResourceModel and Model class