added class StaticEntity.php