added avdecc_entity class and fixed a seg fault