Placed the related data to the end in getArrayCopy
Mapped super classes now use the mapped namespace.
this way the mapped super classes can be placed in an other directory as the entities.