Creating the Entity Class