Creting a new way to construct entities, so they can be references
within the layers. Introduced a bug where the goals (treasures) can't be
seen