Create entity.php