Entity and level generation