Fixed the Array creation when registering a new Family. Before the Arrays were created as Object Array...

...s and I had problems when casting them later on. Now the Arrays are created as Arrays of Entities.